//
//  UILabel+Extension.swift
//  sinaWB
//
//  Created by Macdav on 16/4/9.
//  Copyright © 2016年 Dav. All rights reserved.
//

import UIKit
extension UILabel {
    convenience init(title:String,color:UIColor = UIColor.darkGrayColor(),fontsize:UIFont = UIFont.systemFontOfSize(14)){
        self.init()
        text = title
        textColor = color
        font = fontsize
        numberOfLines = 0
        textAlignment = NSTextAlignment.Center
    }
}
